<template>
  <div class="son">
    <h1>我是Son组件（孙）</h1>
    <Dialog />
  </div>
</template>

<script>
import Dialog from "@/components/Dialog";

export default {
  name: "Son",
  components: { Dialog },
};
</script>

<style>
.son {
  background-color: yellow;
  padding: 10px;
}
</style>